/*
 * @Description:
 * @Author: william
 * @Date: 2025-07-22 19:10:46
 * @LastEditors: william
 * @LastEditTime: 2025-08-08 09:51:39
 */
const prefix = '/customer'

// =====================  客户管理 =====================
// -------------------  查询客户列表 -------------------
export const apiCustomerList = data => g_https.post(`${prefix}/list`, data)

// -------------------  新增客户 -------------------
export const apiCustomerCreate = data => g_https.post(`${prefix}/create`, data)

// -------------------  查询客户详情 -------------------
export const apiCustomerQueryDetail = data =>
  g_https.post(`${prefix}/queryDetail`, data)

// -------------------  修改客户 -------------------
export const apiCustomerUpdate = data => g_https.post(`${prefix}/update`, data)

// -------------------  删除客户 -------------------
export const apiCustomerDelete = data => g_https.post(`${prefix}/delete`, data)

// -------------------  查询客户下拉列表 -------------------
export const apiCustomerDropList = data =>
  g_https.post(`${prefix}/dropList`, data)
